﻿@using Infrastructure.Operator
@{
    Layout = "~/Views/Shared/_Index.cshtml";
}


<script type="text/javascript">
    $(function () {
        //顶部导航切换
        $(".nav li a").click(function () {
            $(".nav li a.selected").removeClass("selected")
            $(this).addClass("selected");
        })
    })
</script>
<body style="background:url(../Content/UI/images/topbg.gif) repeat-x;">

    <div class="topleft">
        <a href="main.html" target="_parent"><img src="../Content/UI/images/logo.png" title="系统首页" /></a>
    </div>

    <ul class="nav">
        @*<li><a href="default.html" target="rightFrame" class="selected"><img src="../Content/UI/images/icon01.png" title="工作台" /><h2>工作台</h2></a></li>
            <li><a href="imgtable.html" target="rightFrame"><img src="../Content/UI/images/icon02.png" title="模型管理" /><h2>模型管理</h2></a></li>
            <li><a href="imglist.html" target="rightFrame"><img src="../Content/UI/images/icon03.png" title="模块设计" /><h2>模块设计</h2></a></li>
            <li><a href="tools.html" target="rightFrame"><img src="../Content/UI/images/icon04.png" title="常用工具" /><h2>常用工具</h2></a></li>
            <li><a href="computer.html" target="rightFrame"><img src="../Content/UI/images/icon05.png" title="文件管理" /><h2>文件管理</h2></a></li>
            <li><a href="tab.html" target="rightFrame"><img src="../Content/UI/images/icon06.png" title="系统设置" /><h2>系统设置</h2></a></li>*@
    </ul>

    <div class="topright">
        <ul>
            @*<li><span><img src="../Content/UI/images/help.png" title="帮助" class="helpimg" /></span><a href="#">帮助</a></li>*@
            <li><a href="#" onclick="fnPersonal()">个人中心</a></li>
            <li><a href="login" target="_parent">退出</a></li>
        </ul>

        <div class="user">
            <span>@OperatorProvider.Provider.GetCurrent().NickName</span>
            @*<i>消息</i>
                <b>5</b>*@
        </div>

    </div>
</body>
<script type="text/javascript">
    function fnPersonal() {
        @*window.parent.layer.open({
            type: 2,
            area: ['600px', '300px'],
            content:'@Url.Action("AdminUserView","AdminUser")'
        });*@
        window.parent.frames["rightFrame"].fnTest();
      
    }
</script>

